﻿<UserControl x:Class="ReworkDesignTemp.View.LabelledImage"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="250" d:DesignWidth="250"             
             Width="{Binding ActualWidth, ElementName=image}"
             Height="{Binding ActualHeight, ElementName=image}">
    <Grid>
        <Image Name="image" x:FieldModifier="private" MaxHeight="250" MaxWidth="250"
                    Source="pack://siteoforigin:,,,/Resources/5025104698_5a4e74c452_o.jpg"  />
        <Border Margin="3" Background="#7fffffff" VerticalAlignment="Bottom" HorizontalAlignment="Center">
            <TextBlock Name="name" 
                       Text="Pugwonk: Sunset in Volunteer park cemetry" TextWrapping="Wrap" />
        </Border>
        <Border Margin="3" Background="#7fffffff" VerticalAlignment="Top" HorizontalAlignment="Center">
            <TextBlock Text="From 08:00 tomorrow" TextWrapping="Wrap" FontSize="24"/>
        </Border>
    </Grid>
</UserControl>
